#include<stdio.h>
#include<string.h>
int main()
{
    freopen("freq.c","r",stdin);
    char s[10000];
    int f[26]= {0};
    while(gets(s))
    {
        int i,len=strlen(s);
        for(i=0; i<len; i++)
            if(isalpha(s[i]))
            {
                if(isupper(s[i]))
                    f[s[i]-'A']++;//hash
                else
                    f[s[i]-'a']++;
            }

    }
    int i;
    for(i=0; i<26; i++)
        printf("%c: %d\n",'a'+i,f[i]);

}
